Skip to main content

πŸ–₯️ Remote desktop

To ease management of the device, beekeeper should be able to inspect device remotely over local network. This assumes that beekeeper has set up the device and its operational based on instructions: How to setup Remote Desktop connection (to Jetson Orin / Nano)

User story​

  • After user has setup the device locally via Device management

  • This likely needs to establish connection with our servers

  • Device becomes 🟒 Live

  • He opens the web-app, chooses Settings β†’ Devices

  • He opens specific device that is live

  • He clicks connect button

  • In the browser he can see a remote operating system (Ubuntu) that he can manage

  • He can see Client-side app with UI, camera view, control a robot etc.

Suggested solution​

  • headscale - https://github.com/juanfont/headscale

  • Device should establish a reverse SSH tunnel connection (device β†’ devices.gratheon.com) so that we can access devices behind NAT without opening ports

  • Device should use API tokens for accessing our API

  • Once device is connected, update status in DB

  • List devices for web-app

  • On connect, open iframe with novnc client app that will use the reverse tunnel connection to a target device